|
|
|
|
|
|
|
To complete the process, name the project AddressBook and click the Finish button. If you look at the Project Window, you'll see all the forms, modules, and resource files added to the project (see Figure 8.9). |
|
|
|
|
|
|
|
|
Figure 8.9.
The Application Wizard creates all the forms and related files needed for the
application prototype. |
|
|
|
|
|
|
|
|
To see exactly what the Application Wizard has created for you, run your new application. Try a few of the menu options and toolbar buttons. You can see that you have a working prototype, although it's only half completedyou still need to add the search, data-entry, and report-selection forms to the application. |
|
|
|
|
|
|
|
|
Using the Data Form Wizard |
|
|
|
|
|
|
|
|
Adding the data-access forms to the application can be very interesting; however, just as with the application prototype, Visual Basic comes with a tool that helps you with the creation process. The Data Form Wizard takes you through several dialog boxes, in which you'll specify the database you're using and the types of forms you want to create. The final data-access forms that you'll use in the application won't resemble the forms this wizard creates. You'll use the wizard to generate the initial forms, which will have all the necessary data-access code to use as a starting point. You need to add only two forms to the application for data access: the data-entry form and a grid-style display form. Let's start with the grid-style form first. |
|
|
|
|
|
|
|
|
To invoke the Data Form Wizard, choose Add-Ins, Data Form Wizard. When the introduction dialog box appears, click Next to continue. The next dialog box asks you what |
|
|
|
|
|